home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be001.dxr / 00017.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  406 b   |  27 lines

  1. on exitFrame
  2.   global timecheck, switch
  3.   if the timer > 300 then
  4.     repeat with n = 50 down to 1
  5.       puppetSprite(n, 0)
  6.     end repeat
  7.     go(the frame + 1)
  8.     startTimer()
  9.   else
  10.     go(the frame)
  11.   end if
  12.   if timecheck = 1 then
  13.     trevor()
  14.     if switch = 1 then
  15.       startTimer()
  16.       set switch to 0
  17.     end if
  18.   else
  19.     go(the frame + 1)
  20.   end if
  21. end
  22.  
  23. on mouseUp
  24.   sound stop 1
  25.   go(13)
  26. end
  27.